<?php include $this->getViewFile('/common/Head') ?>
<body class="J_scroll_fixed">
<style>
.col-left{float:left}
.col-auto{overflow:hidden;_zoom:1;_float:left;}
.title-1{border-bottom:1px solid #eee; padding-left:5px}
.f14{font-size: 14px}
.lh28{line-height: 28px}
.blue,.blue a{color:#004499}
.gray4,a.gray4{color:#999;}
.lh22{line-height: 22px}
.lh25{line-height: 25px}
</style>
<div class="wrap J_check_wrap">
  <?php include $this->getViewFile('/common/Nav') ?>
  <form name="myform" action="<?php echo AdminBase::U("delete") ?>" method="post" class="J_ajaxForm">
    <div class="table_list">
      <table width="100%" cellspacing="0">
        <thead>
          <tr>
            <td width="50" align="center">ID</td>
            <td align="center">名称</td>
            <td align="center">收费金额</td>
            <td align="center" width="100">状态</td>
            <td align="center" width="100">操作</td>
          </tr>
        </thead>
        <tbody>
          <?php
		  foreach($data as $rs){
		  ?>
          <tr>
            <td align="center"><?php echo $rs->id ?></td>
            <td><?php echo $rs->title ?></td>
            <td align="center"><?php echo $rs->money ?></td>
            <td align="center">
            <?php
			if($rs->status){
				echo "启用";
			}else{
				echo "禁用";
			}
			?>
            </td>
            <td align="center"><a href="<?php echo AdminBase::U("edittype",array('id'=>$rs->id)) ?>">编辑</a> | <a class="J_ajax_del" href="<?php echo AdminBase::U("deltype",array('id'=>$rs->id)) ?>">删除</a></td>
          </tr>
          <?php
		  }
		  ?>
        </tbody>
      </table>
      <div class="p10">
        <div class="pages"><?php echo $Page;?></div>
      </div>
    </div>
  </form>
</div>
<script src="<?php echo $staticUrl; ?>statics/js/common.js"></script>
<script>

</script>
</body>
</html>